<?php
header("Content-Type:text/html;charset=utf-8");
ini_set('display_errors', 1);
set_time_limit(0);
include_once dirname(dirname(dirname(__FILE__))) . '/mgtv_init.php';
$arr_dir = explode('|',str_replace(array('/','\\'), '|', __DIR__));
array_pop($arr_dir);
$str_dir = array_pop($arr_dir);
define('ORG_ID', $str_dir);
include_once dirname(dirname(dirname(__FILE__))) . '/'.ORG_ID.'/init.php';
include dirname(dirname(dirname(__FILE__))).'/models/c2_task_model.php';
include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . '/np/np_string.php';
include_once dirname(dirname(dirname(dirname(dirname(__FILE__))))) . '/np/np_time.php';

ini_set('display_errors', 1);
set_time_limit(0);
$live_info = array(
		'nns_id'=>'a2700a08612c3e5638ef169da08ebc27',
		'nns_name'=>'test_playbill'
);

$action ='REGIST';
// $action ='DELETE';

$result= c2_task_model::do_live_v2($live_info,$action,'fonsview1_iptv');
var_dump($result);